#
# Be sure to run `pod lib lint SYYBaseLib.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'SYYBaseLib'
  s.version          = '0.0.21'
  s.summary          = 'SYYBaseLib'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://gitee.com/suyongyaogit/SYYBase-lib.git'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'suyongyao' => '823895643@qq.com' }
  s.source           = { :git => 'https://gitee.com/suyongyaogit/SYYBase-lib.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '9.0'
  s.static_framework = true
  
  #配置pch
   pch_AF = <<-EOS
   #import "SYYBaseLib.h"
   EOS
   s.prefix_header_contents = pch_AF
  
  #s.source_files = 'SYYBaseLib/Classes/**/*'
  
  s.source_files = 'SYYBaseLib/Classes/SYYBaseLib.{h,m}'
  
  s.subspec 'Category' do |ss|
    ss.source_files = 'SYYBaseLib/Classes/Category/*.{h,m}'
  end
  
  s.subspec 'Controller' do |ss|
    ss.source_files = 'SYYBaseLib/Classes/Controller/*.{h,m}'
  end

  s.subspec 'Tools' do |ss|
    ss.source_files = 'SYYBaseLib/Classes/Tools/*.{h,m}'

    ss.subspec 'ASE' do |ss3|
        ss3.source_files = "SYYBaseLib/Classes/Tools/ASE/*.{h,m}"
    end
    
    ss.subspec 'LLFMDB' do |ss3|
        ss3.source_files = "SYYBaseLib/Classes/Tools/LLFMDB/*.{h,m}"
    end
    
    ss.subspec 'MD5' do |ss3|
        ss3.source_files = "SYYBaseLib/Classes/Tools/MD5/*.{h,m}"
    end
    
    ss.subspec 'SelecterTools' do |ss3|
        ss3.source_files = "SYYBaseLib/Classes/Tools/SelecterTools/*.{h,m}"
    end
    
    ss.subspec 'UUID' do |ss3|
        ss3.source_files = "SYYBaseLib/Classes/Tools/UUID/*.{h,m}"
    end
    
    ss.subspec 'View' do |ss3|
        ss3.source_files = "SYYBaseLib/Classes/Tools/View/*.{h,m}"
    end
    
  end
  
  
  
  
  
  
  
  # s.resource_bundles = {
  #   'SYYBaseLib' => ['SYYBaseLib/Assets/*.png']
  # }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  # s.dependency 'AFNetworking', '~> 2.3'
  
  #资源目录
  s.resource_bundles = {
    'SYYBaseLib' => ['SYYBaseLib/Assets/Assets.xcassets'],
  }
  
  s.dependency 'AFNetworking'
  s.dependency 'SDWebImage'
  s.dependency 'FMDB'
  s.dependency 'MJExtension'
  s.dependency 'MJRefresh'
  s.dependency 'Masonry'
  s.dependency 'SDAutoLayout'
  s.dependency 'SVProgressHUD'
  s.dependency 'SDCycleScrollView'
  s.dependency 'IQKeyboardManager'
  #    友盟
  s.dependency 'UMCCommon'
  s.dependency 'UMCSecurityPlugins'
  s.dependency 'UMCShare/Social/ReducedWeChat'
  s.dependency 'WechatOpenSDK'
#  s.dependency 'MLeaksFinder', :git => "https://github.com/Tencent/MLeaksFinder.git"
end
